
package com.spss.data.service.schema.jaxb;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for exceptionType.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="exceptionType">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *     &lt;enumeration value="DATACONVERSIONERROR"/>
 *     &lt;enumeration value="RECORDNOTFOUNDERROR"/>
 *     &lt;enumeration value="OTHERERROR"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "exceptionType")
@XmlEnum
public enum ExceptionType {


    /**
     * Error when converting incompatible type data.
     * 
     */
    DATACONVERSIONERROR,

    /**
     * There is no match record in the data set with the specified key value(s).
     * 
     */
    RECORDNOTFOUNDERROR,

    /**
     * The exception that is neither DATACONVERSIONERROR nor RECORDNOTFOUNDERROR.
     * 
     */
    OTHERERROR;

    public String value() {
        return name();
    }

    public static ExceptionType fromValue(String v) {
        return valueOf(v);
    }

}
